Skip to content

Fix typo: 'priviledge' -> 'privilege' in Permissions.sol#698

Closed
zent7x wants to merge 1 commit intothirdweb-dev:mainfrom
zent7x:fix/typo-privilege-spelling
Closed

Fix typo: 'priviledge' -> 'privilege' in Permissions.sol#698
zent7x wants to merge 1 commit intothirdweb-dev:mainfrom
zent7x:fix/typo-privilege-spelling

Conversation

@zent7x
Copy link

@zent7x zent7x commented Feb 3, 2026

Summary

  • Fixed the misspelling of 'privilege' as 'priviledge' in the NatSpec comment for the PermissionsInvalidPermission error in Permissions.sol

Test plan

  • No functional changes, only documentation/comment fix
  • Existing tests should continue to pass

Summary by CodeRabbit

  • Documentation
    • Fixed a typo in an error message to improve clarity.

Fixed the misspelling of 'privilege' as 'priviledge' in the
NatSpec comment for the PermissionsInvalidPermission error.
@coderabbitai
Copy link

coderabbitai bot commented Feb 3, 2026

Walkthrough

Documentation correction in the Permissions contract: a spelling error in an error declaration is fixed, changing "priviledge" to "privilege". No functional or structural changes.

Changes

Cohort / File(s) Summary
Documentation Fix
contracts/extension/Permissions.sol
Corrected typo in error message: "Invalid priviledge to revoke" → "Invalid privilege to revoke".

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely describes the main change: fixing a typo in a documentation comment from 'priviledge' to 'privilege' in Permissions.sol, which directly matches the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@zent7x zent7x closed this Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant